/*
 * Copyright (C) 2012, EADS France
 * 
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 * 
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 */
package xowl.gmi.controller;

/**
 *
 * @author Laurent WOUTERS
 */
public class GraphNodePort {
    private Graph graph;
    private GraphNode node;
    private int portID;
    
    public Graph getGraph() { return graph; }
    public GraphNode getNode() { return node; }
    public int getPortID() { return portID; }
    
    public GraphNodePort(Graph graph, GraphNode node, int portID) {
        this.graph = graph;
        this.node = node;
        this.portID = portID;
    }
}
